package com.feng.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface PojoDao<T> {
    T findByName(String name);
    List<T> findAll();
    Integer create(T t);
    Integer update(T t);
    Integer detele(T t);
}
